import { IFeidaoAiBrowserComponent } from '@dfeidao/atom-web/interfaces';
import nodejs from '@dfeidao/atom-web/msg/nodejs';
import render from '@dfeidao/atom-web/render/render';
import p001 from './p001';

interface Par extends Event {
	page_no: number
}
export default async function a003(fd: IFeidaoAiBrowserComponent, e: Par) {
	// todo
	const res = await nodejs<{ dt: Array<{}>; t: number }>('company-factory/zj-000009/s001', {
		filter: {
			company_name: '',
			pn: e.page_no
		}
	});
	render(fd, res.dt, p001, 'p001', 'inner');
}
